package com.licenta.fbApp.shared;

import java.util.ArrayList;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("db")
public interface DatabaseService extends RemoteService{
	public ArrayList<Restaurant> getRestaurants(String query) throws NotLoggedInException;
	public String execute(String query) throws NotLoggedInException;
}
